<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->

<html lang="zh-cn" xml:lang="zh-cn">
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="DC.Type" content="topic">
  <meta name="DC.Title" content="步骤5：配置访问权限">
  <meta name="product" content="">
  <meta name="DC.Relation" scheme="URI" content="zh-cn_topic_0000001839239709.html">
  <meta name="prodname" content="">
  <meta name="version" content="">
  <meta name="brand" content="30-OceanProtect 备份一体机 1.5.0-1.6.0 帮助中心">
  <meta name="DC.Publisher" content="20240320">
  <meta name="DC.Format" content="XHTML">
  <meta name="DC.Identifier" content="ZH-CN_TOPIC_0000001839239777">
  <meta name="DC.Language" content="zh-cn">
  <link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
  <title>步骤5：配置访问权限</title>
 </head>
 <body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px">
  <a name="ZH-CN_TOPIC_0000001839239777"></a><a name="ZH-CN_TOPIC_0000001839239777"></a>
  <h1 class="topictitle1">步骤5：配置访问权限</h1>
  <div>
   <p>备份NAS共享前，需要在生产存储设备中为<span>本产品</span>配置访问权限，以便<span>本产品</span>可以通过共享的方式读取生产存储的数据。</p>
   <p>本节以生产存储为OceanStor Dorado 6.1.3之前的版本为例，介绍如何为<span>本产品</span>配置NFS共享和CIFS共享的访问权限。</p>
   <div class="section">
    <h4 class="sectiontitle">NFS共享</h4>
    <p>当待保护的NAS共享为NFS共享时，请参考如下操作步骤进行配置。</p>
    <ol>
     <li><span>登录生产存储设备的DeviceManager。</span></li>
     <li><span>选择<span class="uicontrol">“服务 &gt; 文件服务 &gt; 共享 ”</span>。</span></li>
     <li><span>在“NFS共享”页签，单击待保护NFS共享右侧的“更多 &gt; 增加客户端”。</span></li>
     <li><span>配置客户端参数。</span><p></p>
      <div class="p">
       相关参数设置说明请参见<a href="#ZH-CN_TOPIC_0000001839239777__zh-cn_topic_0000001142022956_table12170124133619">表1</a>。 
       <div class="tablenoborder">
        <a name="ZH-CN_TOPIC_0000001839239777__zh-cn_topic_0000001142022956_table12170124133619"></a><a name="zh-cn_topic_0000001142022956_table12170124133619"></a>
        <table cellpadding="4" cellspacing="0" summary="" id="ZH-CN_TOPIC_0000001839239777__zh-cn_topic_0000001142022956_table12170124133619" frame="border" border="1" rules="all">
         <caption>
          <b>表1 </b>增加客户端参数设置说明
         </caption>
         <colgroup>
          <col style="width:32.269999999999996%">
          <col style="width:67.73%">
         </colgroup>
         <thead align="left">
          <tr>
           <th align="left" class="cellrowborder" valign="top" width="32.269999999999996%" id="mcps1.3.3.3.4.2.1.2.2.3.1.1"><p>参数</p></th>
           <th align="left" class="cellrowborder" valign="top" width="67.73%" id="mcps1.3.3.3.4.2.1.2.2.3.1.2"><p>说明</p></th>
          </tr>
         </thead>
         <tbody>
          <tr>
           <td class="cellrowborder" valign="top" width="32.269999999999996%" headers="mcps1.3.3.3.4.2.1.2.2.3.1.1 "><p>类型</p></td>
           <td class="cellrowborder" valign="top" width="67.73%" headers="mcps1.3.3.3.4.2.1.2.2.3.1.2 "><p>请选择“主机”。</p></td>
          </tr>
          <tr>
           <td class="cellrowborder" valign="top" width="32.269999999999996%" headers="mcps1.3.3.3.4.2.1.2.2.3.1.1 "><p>客户端</p></td>
           <td class="cellrowborder" valign="top" width="67.73%" headers="mcps1.3.3.3.4.2.1.2.2.3.1.2 "><p>访问该共享的客户端IP地址，请输入<span>本产品</span>中配置的备份IP段。</p>
            <ul>
             <li>当使用内置代理时，该备份IP段可在<span>本产品</span>所在的DeviceManager界面的“<span>系统</span> &gt; 容器服务 &gt; 网络平面”下，在对应的备份网络平面获取。</li>
             <li>当使用外置代理时，该IP为已配置的外置代理IP。</li>
            </ul></td>
          </tr>
          <tr>
           <td class="cellrowborder" valign="top" width="32.269999999999996%" headers="mcps1.3.3.3.4.2.1.2.2.3.1.1 "><p>权限级别</p></td>
           <td class="cellrowborder" valign="top" width="67.73%" headers="mcps1.3.3.3.4.2.1.2.2.3.1.2 "><p>请选择“读写”。</p></td>
          </tr>
         </tbody>
        </table>
       </div>
      </div> <p></p></li>
     <li><span>勾选界面右上角的“高级”，配置高级参数。</span><p></p><p>设置root权限限制为“no_root_squash”，其他参数保持默认配置。</p> <p></p></li>
     <li><span>单击“确定”。</span></li>
    </ol>
   </div>
   <div class="section">
    <h4 class="sectiontitle">CIFS共享</h4>
    <p>当待保护的NAS共享为CIFS共享时，请参考如下操作步骤进行配置。</p>
    <ol>
     <li><span>登录生产存储设备的DeviceManager。</span></li>
     <li><span>选择<span class="uicontrol">“服务 &gt; 文件服务 &gt; 认证用户 ”</span>。</span><p></p>
      <div class="note">
       <img src="public_sys-resources/note_3.0-zh-cn.png"><span class="notetitle"> </span>
       <div class="notebody">
        <p>如果您已经有Administrators组的本地认证用户，可直接执行<a href="#ZH-CN_TOPIC_0000001839239777__li679311623114">5</a>到<a href="#ZH-CN_TOPIC_0000001839239777__li2119145372410">8</a>。</p>
       </div>
      </div> <p></p></li>
     <li><span>单击“Windows用户”页签，单击“创建”，创建Windows本地认证用户。</span></li>
     <li id="ZH-CN_TOPIC_0000001839239777__li55065812712"><a name="ZH-CN_TOPIC_0000001839239777__li55065812712"></a><a name="li55065812712"></a><span>配置本地认证用户参数。</span><p></p><p>相关参数设置说明请参见<a href="#ZH-CN_TOPIC_0000001839239777__table1580194317282">表2</a>。</p>
      <div class="tablenoborder">
       <a name="ZH-CN_TOPIC_0000001839239777__table1580194317282"></a><a name="table1580194317282"></a>
       <table cellpadding="4" cellspacing="0" summary="" id="ZH-CN_TOPIC_0000001839239777__table1580194317282" frame="border" border="1" rules="all">
        <caption>
         <b>表2 </b>创建本地认证用户参数设置说明
        </caption>
        <colgroup>
         <col style="width:32.269999999999996%">
         <col style="width:67.73%">
        </colgroup>
        <thead align="left">
         <tr>
          <th align="left" class="cellrowborder" valign="top" width="32.269999999999996%" id="mcps1.3.4.3.4.2.2.2.3.1.1"><p>参数</p></th>
          <th align="left" class="cellrowborder" valign="top" width="67.73%" id="mcps1.3.4.3.4.2.2.2.3.1.2"><p>说明</p></th>
         </tr>
        </thead>
        <tbody>
         <tr>
          <td class="cellrowborder" valign="top" width="32.269999999999996%" headers="mcps1.3.4.3.4.2.2.2.3.1.1 "><p>名称</p></td>
          <td class="cellrowborder" valign="top" width="67.73%" headers="mcps1.3.4.3.4.2.2.2.3.1.2 "><p>设置新用户名称。</p></td>
         </tr>
         <tr>
          <td class="cellrowborder" valign="top" width="32.269999999999996%" headers="mcps1.3.4.3.4.2.2.2.3.1.1 "><p>密码</p></td>
          <td class="cellrowborder" valign="top" width="67.73%" headers="mcps1.3.4.3.4.2.2.2.3.1.2 "><p>设置新用户密码。</p></td>
         </tr>
         <tr>
          <td class="cellrowborder" valign="top" width="32.269999999999996%" headers="mcps1.3.4.3.4.2.2.2.3.1.1 "><p>确认密码</p></td>
          <td class="cellrowborder" valign="top" width="67.73%" headers="mcps1.3.4.3.4.2.2.2.3.1.2 "><p>再次输入新用户密码。</p></td>
         </tr>
         <tr>
          <td class="cellrowborder" valign="top" width="32.269999999999996%" headers="mcps1.3.4.3.4.2.2.2.3.1.1 "><p>状态</p></td>
          <td class="cellrowborder" valign="top" width="67.73%" headers="mcps1.3.4.3.4.2.2.2.3.1.2 "><p>请勾选启用。</p></td>
         </tr>
         <tr>
          <td class="cellrowborder" valign="top" width="32.269999999999996%" headers="mcps1.3.4.3.4.2.2.2.3.1.1 "><p>可选组</p></td>
          <td class="cellrowborder" valign="top" width="67.73%" headers="mcps1.3.4.3.4.2.2.2.3.1.2 "><p>请选择“Administrators”。</p></td>
         </tr>
        </tbody>
       </table>
      </div> <p></p></li>
     <li id="ZH-CN_TOPIC_0000001839239777__li679311623114"><a name="ZH-CN_TOPIC_0000001839239777__li679311623114"></a><a name="li679311623114"></a><span>在左侧导航栏，单击“共享”，单击“CIFS共享”页签，进入CIFS共享页面。</span></li>
     <li><span>单击待保护CIFS共享右侧的“更多 &gt; 增加用户/用户组”。</span></li>
     <li><span>配置用户/用户组参数。</span><p></p>
      <div class="p">
       相关参数设置说明请参见<a href="#ZH-CN_TOPIC_0000001839239777__table7119165310243">表3</a>。 
       <div class="tablenoborder">
        <a name="ZH-CN_TOPIC_0000001839239777__table7119165310243"></a><a name="table7119165310243"></a>
        <table cellpadding="4" cellspacing="0" summary="" id="ZH-CN_TOPIC_0000001839239777__table7119165310243" frame="border" border="1" rules="all">
         <caption>
          <b>表3 </b>增加用户/用户组参数设置说明
         </caption>
         <colgroup>
          <col style="width:32.269999999999996%">
          <col style="width:67.73%">
         </colgroup>
         <thead align="left">
          <tr>
           <th align="left" class="cellrowborder" valign="top" width="32.269999999999996%" id="mcps1.3.4.3.7.2.1.2.2.3.1.1"><p>参数</p></th>
           <th align="left" class="cellrowborder" valign="top" width="67.73%" id="mcps1.3.4.3.7.2.1.2.2.3.1.2"><p>说明</p></th>
          </tr>
         </thead>
         <tbody>
          <tr>
           <td class="cellrowborder" valign="top" width="32.269999999999996%" headers="mcps1.3.4.3.7.2.1.2.2.3.1.1 "><p>类型</p></td>
           <td class="cellrowborder" valign="top" width="67.73%" headers="mcps1.3.4.3.7.2.1.2.2.3.1.2 "><p>请选择“Windows本地认证用户”。</p></td>
          </tr>
          <tr>
           <td class="cellrowborder" valign="top" width="32.269999999999996%" headers="mcps1.3.4.3.7.2.1.2.2.3.1.1 "><p>可选用户/用户组</p></td>
           <td class="cellrowborder" valign="top" width="67.73%" headers="mcps1.3.4.3.7.2.1.2.2.3.1.2 "><p>请选择<a href="#ZH-CN_TOPIC_0000001839239777__li55065812712">4</a>创建的用户。</p></td>
          </tr>
          <tr>
           <td class="cellrowborder" valign="top" width="32.269999999999996%" headers="mcps1.3.4.3.7.2.1.2.2.3.1.1 "><p>权限级别</p></td>
           <td class="cellrowborder" valign="top" width="67.73%" headers="mcps1.3.4.3.7.2.1.2.2.3.1.2 "><p>请选择“读写”。</p></td>
          </tr>
         </tbody>
        </table>
       </div>
      </div> <p></p></li>
     <li id="ZH-CN_TOPIC_0000001839239777__li2119145372410"><a name="ZH-CN_TOPIC_0000001839239777__li2119145372410"></a><a name="li2119145372410"></a><span>单击“确定”。</span></li>
    </ol>
   </div>
  </div>
  <div>
   <div class="familylinks">
    <div class="parentlink">
     <strong>父主题：</strong> <a href="zh-cn_topic_0000001839239709.html">备份NAS共享</a>
    </div>
   </div>
  </div>
 </body>
</html>